import { requestClientBody } from '#/api/request';

/**
 * 上传图片
 */
export async function uploadImgApi(file: any, config?: any) {
  return requestClientBody.upload('/upload/img', file, config);
}
/**
 * 上传文件
 */
export async function uploadFileApi(file: any, config?: any) {
  return requestClientBody.upload('/upload/file', file, config);
}